class PersonlDataEntity {
	PersonlDataDescuser descUser;
	PersonlDataUser user;

	PersonlDataEntity({this.descUser, this.user});

	PersonlDataEntity.fromJson(Map<String, dynamic> json) {
		descUser = json['DescUser'] != null ? new PersonlDataDescuser.fromJson(json['DescUser']) : null;
		user = json['User'] != null ? new PersonlDataUser.fromJson(json['User']) : null;
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.descUser != null) {
      data['DescUser'] = this.descUser.toJson();
    }
		if (this.user != null) {
      data['User'] = this.user.toJson();
    }
		return data;
	}
}

class PersonlDataDescuser {
	String msg;
	int pages;
	String flag;
	String code;
	PersonlDataDescuserDatas datas;
	int totalCount;

	PersonlDataDescuser({this.msg, this.pages, this.flag, this.code, this.datas, this.totalCount});

	PersonlDataDescuser.fromJson(Map<String, dynamic> json) {
		msg = json['msg'];
		pages = json['pages'];
		flag = json['flag'];
		code = json['code'];
		datas = json['datas'] != null ? new PersonlDataDescuserDatas.fromJson(json['datas']) : null;
		totalCount = json['totalCount'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['msg'] = this.msg;
		data['pages'] = this.pages;
		data['flag'] = this.flag;
		data['code'] = this.code;
		if (this.datas != null) {
      data['datas'] = this.datas.toJson();
    }
		data['totalCount'] = this.totalCount;
		return data;
	}
}

class PersonlDataDescuserDatas {
	dynamic emailcode;
	String note;
	dynamic creatorUserId;
	String creationTime;
	dynamic entrytime;
	String lastModificationTime;
	dynamic lastModifierUserId;
	bool isactive;
	dynamic emergency;
	String userid;
	dynamic cardno;
	bool isDeleted;
	bool isadmin;
	bool issysadmin;
	dynamic jobnumber;
	dynamic shortnumber;
	dynamic carno;
	dynamic contact;
	dynamic imageurl;
	dynamic tenantId;
	dynamic dimissiontime;
	String id;
	dynamic email;
	dynamic emergencycontact;

	PersonlDataDescuserDatas({this.emailcode, this.note, this.creatorUserId, this.creationTime, this.entrytime, this.lastModificationTime, this.lastModifierUserId, this.isactive, this.emergency, this.userid, this.cardno, this.isDeleted, this.isadmin, this.issysadmin, this.jobnumber, this.shortnumber, this.carno, this.contact, this.imageurl, this.tenantId, this.dimissiontime, this.id, this.email, this.emergencycontact});

	PersonlDataDescuserDatas.fromJson(Map<String, dynamic> json) {
		emailcode = json['emailcode'];
		note = json['note'];
		creatorUserId = json['creatorUserId'];
		creationTime = json['creationTime'];
		entrytime = json['entrytime'];
		lastModificationTime = json['lastModificationTime'];
		lastModifierUserId = json['lastModifierUserId'];
		isactive = json['isactive'];
		emergency = json['emergency'];
		userid = json['userid'];
		cardno = json['cardno'];
		isDeleted = json['isDeleted'];
		isadmin = json['isadmin'];
		issysadmin = json['issysadmin'];
		jobnumber = json['jobnumber'];
		shortnumber = json['shortnumber'];
		carno = json['carno'];
		contact = json['contact'];
		imageurl = json['imageurl'];
		tenantId = json['tenantId'];
		dimissiontime = json['dimissiontime'];
		id = json['id'];
		email = json['email'];
		emergencycontact = json['emergencycontact'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['emailcode'] = this.emailcode;
		data['note'] = this.note;
		data['creatorUserId'] = this.creatorUserId;
		data['creationTime'] = this.creationTime;
		data['entrytime'] = this.entrytime;
		data['lastModificationTime'] = this.lastModificationTime;
		data['lastModifierUserId'] = this.lastModifierUserId;
		data['isactive'] = this.isactive;
		data['emergency'] = this.emergency;
		data['userid'] = this.userid;
		data['cardno'] = this.cardno;
		data['isDeleted'] = this.isDeleted;
		data['isadmin'] = this.isadmin;
		data['issysadmin'] = this.issysadmin;
		data['jobnumber'] = this.jobnumber;
		data['shortnumber'] = this.shortnumber;
		data['carno'] = this.carno;
		data['contact'] = this.contact;
		data['imageurl'] = this.imageurl;
		data['tenantId'] = this.tenantId;
		data['dimissiontime'] = this.dimissiontime;
		data['id'] = this.id;
		data['email'] = this.email;
		data['emergencycontact'] = this.emergencycontact;
		return data;
	}
}

class PersonlDataUser {
	String msg;
	int pages;
	String flag;
	String code;
	PersonlDataUserDatas datas;
	int totalCount;

	PersonlDataUser({this.msg, this.pages, this.flag, this.code, this.datas, this.totalCount});

	PersonlDataUser.fromJson(Map<String, dynamic> json) {
		msg = json['msg'];
		pages = json['pages'];
		flag = json['flag'];
		code = json['code'];
		datas = json['datas'] != null ? new PersonlDataUserDatas.fromJson(json['datas']) : null;
		totalCount = json['totalCount'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['msg'] = this.msg;
		data['pages'] = this.pages;
		data['flag'] = this.flag;
		data['code'] = this.code;
		if (this.datas != null) {
      data['datas'] = this.datas.toJson();
    }
		data['totalCount'] = this.totalCount;
		return data;
	}
}

class PersonlDataUserDatas {
	String creatorUserId;
	dynamic isfinger;
	String creationTime;
	String lastModificationTime;
	bool isactive;
	dynamic lastwarehouseid;
	String lastlogintime;
	String password;
	bool isDeleted;
	dynamic orgname;
	dynamic contact;
	String id;
	dynamic email;
	String useraccount;
	dynamic rolename;
	String lastModifierUserId;
	PersonlDataUserDatasOrganizationdropdown organizationDropdown;
	bool isAdmin;
	dynamic parentOrgname;
	dynamic shortnumber;
	dynamic jobnumber;
	dynamic isface;
	String tenantId;
	PersonlDataUserDatasRoledropdown roleDropdown;
	String username;

	PersonlDataUserDatas({this.creatorUserId, this.isfinger, this.creationTime, this.lastModificationTime, this.isactive, this.lastwarehouseid, this.lastlogintime, this.password, this.isDeleted, this.orgname, this.contact, this.id, this.email, this.useraccount, this.rolename, this.lastModifierUserId, this.organizationDropdown, this.isAdmin, this.parentOrgname, this.shortnumber, this.jobnumber, this.isface, this.tenantId, this.roleDropdown, this.username});

	PersonlDataUserDatas.fromJson(Map<String, dynamic> json) {
		creatorUserId = json['creatorUserId'];
		isfinger = json['isfinger'];
		creationTime = json['creationTime'];
		lastModificationTime = json['lastModificationTime'];
		isactive = json['isactive'];
		lastwarehouseid = json['lastwarehouseid'];
		lastlogintime = json['lastlogintime'];
		password = json['password'];
		isDeleted = json['isDeleted'];
		orgname = json['orgname'];
		contact = json['contact'];
		id = json['id'];
		email = json['email'];
		useraccount = json['useraccount'];
		rolename = json['rolename'];
		lastModifierUserId = json['lastModifierUserId'];
		organizationDropdown = json['organizationDropdown'] != null ? new PersonlDataUserDatasOrganizationdropdown.fromJson(json['organizationDropdown']) : null;
		isAdmin = json['isAdmin'];
		parentOrgname = json['parentOrgname'];
		shortnumber = json['shortnumber'];
		jobnumber = json['jobnumber'];
		isface = json['isface'];
		tenantId = json['tenantId'];
		roleDropdown = json['roleDropdown'] != null ? new PersonlDataUserDatasRoledropdown.fromJson(json['roleDropdown']) : null;
		username = json['username'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['creatorUserId'] = this.creatorUserId;
		data['isfinger'] = this.isfinger;
		data['creationTime'] = this.creationTime;
		data['lastModificationTime'] = this.lastModificationTime;
		data['isactive'] = this.isactive;
		data['lastwarehouseid'] = this.lastwarehouseid;
		data['lastlogintime'] = this.lastlogintime;
		data['password'] = this.password;
		data['isDeleted'] = this.isDeleted;
		data['orgname'] = this.orgname;
		data['contact'] = this.contact;
		data['id'] = this.id;
		data['email'] = this.email;
		data['useraccount'] = this.useraccount;
		data['rolename'] = this.rolename;
		data['lastModifierUserId'] = this.lastModifierUserId;
		if (this.organizationDropdown != null) {
      data['organizationDropdown'] = this.organizationDropdown.toJson();
    }
		data['isAdmin'] = this.isAdmin;
		data['parentOrgname'] = this.parentOrgname;
		data['shortnumber'] = this.shortnumber;
		data['jobnumber'] = this.jobnumber;
		data['isface'] = this.isface;
		data['tenantId'] = this.tenantId;
		if (this.roleDropdown != null) {
      data['roleDropdown'] = this.roleDropdown.toJson();
    }
		data['username'] = this.username;
		return data;
	}
}

class PersonlDataUserDatasOrganizationdropdown {
	List<PersonlDataUserDatasOrganizationdropdownDropdownlist> dropdownList;

	PersonlDataUserDatasOrganizationdropdown({this.dropdownList});

	PersonlDataUserDatasOrganizationdropdown.fromJson(Map<String, dynamic> json) {
		if (json['dropdownList'] != null) {
			dropdownList = new List<PersonlDataUserDatasOrganizationdropdownDropdownlist>();(json['dropdownList'] as List).forEach((v) { dropdownList.add(new PersonlDataUserDatasOrganizationdropdownDropdownlist.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.dropdownList != null) {
      data['dropdownList'] =  this.dropdownList.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class PersonlDataUserDatasOrganizationdropdownDropdownlist {
	int seqNo;
	List<PersonlDataUserDatasOrganizationdropdownDropdownlistChildlist> childList;
	String id;
	String text;
	String value;
	dynamic parentId;
	bool selected;
	bool enabled;

	PersonlDataUserDatasOrganizationdropdownDropdownlist({this.seqNo, this.childList, this.id, this.text, this.value, this.parentId, this.selected, this.enabled});

	PersonlDataUserDatasOrganizationdropdownDropdownlist.fromJson(Map<String, dynamic> json) {
		seqNo = json['seqNo'];
		if (json['childList'] != null) {
			childList = new List<PersonlDataUserDatasOrganizationdropdownDropdownlistChildlist>();(json['childList'] as List).forEach((v) { childList.add(new PersonlDataUserDatasOrganizationdropdownDropdownlistChildlist.fromJson(v)); });
		}
		id = json['id'];
		text = json['text'];
		value = json['value'];
		parentId = json['parentId'];
		selected = json['selected'];
		enabled = json['enabled'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['seqNo'] = this.seqNo;
		if (this.childList != null) {
      data['childList'] =  this.childList.map((v) => v.toJson()).toList();
    }
		data['id'] = this.id;
		data['text'] = this.text;
		data['value'] = this.value;
		data['parentId'] = this.parentId;
		data['selected'] = this.selected;
		data['enabled'] = this.enabled;
		return data;
	}
}

class PersonlDataUserDatasOrganizationdropdownDropdownlistChildlist {
	int seqNo;
	List<Null> childList;
	String id;
	String text;
	String value;
	String parentId;
	bool selected;
	bool enabled;

	PersonlDataUserDatasOrganizationdropdownDropdownlistChildlist({this.seqNo, this.childList, this.id, this.text, this.value, this.parentId, this.selected, this.enabled});

	PersonlDataUserDatasOrganizationdropdownDropdownlistChildlist.fromJson(Map<String, dynamic> json) {
		seqNo = json['seqNo'];
		if (json['childList'] != null) {
			childList = new List<Null>();
		}
		id = json['id'];
		text = json['text'];
		value = json['value'];
		parentId = json['parentId'];
		selected = json['selected'];
		enabled = json['enabled'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['seqNo'] = this.seqNo;
		if (this.childList != null) {
      data['childList'] =  [];
    }
		data['id'] = this.id;
		data['text'] = this.text;
		data['value'] = this.value;
		data['parentId'] = this.parentId;
		data['selected'] = this.selected;
		data['enabled'] = this.enabled;
		return data;
	}
}

class PersonlDataUserDatasRoledropdown {
	List<PersonlDataUserDatasRoledropdownDropdownlist> dropdownList;

	PersonlDataUserDatasRoledropdown({this.dropdownList});

	PersonlDataUserDatasRoledropdown.fromJson(Map<String, dynamic> json) {
		if (json['dropdownList'] != null) {
			dropdownList = new List<PersonlDataUserDatasRoledropdownDropdownlist>();(json['dropdownList'] as List).forEach((v) { dropdownList.add(new PersonlDataUserDatasRoledropdownDropdownlist.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.dropdownList != null) {
      data['dropdownList'] =  this.dropdownList.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class PersonlDataUserDatasRoledropdownDropdownlist {
	int seqNo;
	List<Null> childList;
	String id;
	String text;
	dynamic value;
	String parentId;
	bool selected;
	bool enabled;

	PersonlDataUserDatasRoledropdownDropdownlist({this.seqNo, this.childList, this.id, this.text, this.value, this.parentId, this.selected, this.enabled});

	PersonlDataUserDatasRoledropdownDropdownlist.fromJson(Map<String, dynamic> json) {
		seqNo = json['seqNo'];
		if (json['childList'] != null) {
			childList = new List<Null>();
		}
		id = json['id'];
		text = json['text'];
		value = json['value'];
		parentId = json['parentId'];
		selected = json['selected'];
		enabled = json['enabled'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['seqNo'] = this.seqNo;
		if (this.childList != null) {
      data['childList'] =  [];
    }
		data['id'] = this.id;
		data['text'] = this.text;
		data['value'] = this.value;
		data['parentId'] = this.parentId;
		data['selected'] = this.selected;
		data['enabled'] = this.enabled;
		return data;
	}
}
